{include file="public/header" /}
<form class="layui-form" action="" attr-url = "{:url('config/store_add')}" style="margin-top: 20px;">
    <div class="layui-form-item">
        <label class="layui-form-label">店铺名称</label>
        <div class="layui-input-inline">
            <input type="text" name="name" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否设置为主店</label>
        <div class="layui-input-block">
            <input type="radio" name="ismain" value="1" title="是">
            <input type="radio" name="ismain" value="0" title="否" checked>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-inline">
            <input type="text" name="phone" value="" lay-verify="phone" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系微信</label>
        <div class="layui-input-inline">
            <input type="text" name="weixin" lay-verify="require" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系QQ</label>
        <div class="layui-input-inline">
            <input type="text" name="qq" lay-verify="require" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">店铺经纬度</label>
        <div class="layui-input-inline">
            <input type="text" readonly="readonly" id="long_lat" name="long_lat" lay-verify="require" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
        <button class="layui-btn" type="button" onclick="lang_map()">点击获取经纬度</button>
    </div>
    <div class="layui-form-item layui-form-text" style="width: 50%;">
        <label class="layui-form-label">商家介绍</label>
        <div class="layui-input-block">
            <textarea name="txt_info" placeholder="请输入内容" class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">店铺特色-</label>
        <div class="layui-input-inline">
            <input type="text" name="qq" lay-verify="require" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" type="submit" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>

<script src="/static/admin/js/common.js"></script>